﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace NumberPuzzle
{
    public partial class DisorderForm : Form
    {
        int[] number;
        public DisorderForm(int[] number)
        {
            InitializeComponent();
            this.number = number;
        }

        private void btnOk_Click(object sender, EventArgs e)
        {
            number[0] = Convert.ToInt32(nudMovements.Value);
            this.Close();
        }
    }
}
